<ion-view view-title="求购列表" class="service">
	<!--一定要手动加导航栏-->
	<ion-nav-bar>
		<ion-nav-back-button>
		</ion-nav-back-button>
	</ion-nav-bar>
	<ion-content>
		<!--描述：下拉刷新-->
		<li class="item item-input-inset item-icon-right" style="padding-bottom:5px;" id="search-top1">
			<label class="item-input-wrapper">
   	  	  <input type="text" placeholder="请输入您的关键字" ng-model="input.key"/>
   	  	 </label>
			<i class="icon ion-search font-1rem-my" on-tap="doSearch()"></i>
		</li>

		<li class="item padding-0 item-borderless" id="search-top2">
			<div class="row padding-0 font-large-my">
				<div class="col text-center" on-tap="orderGoods(1)" ng-class="{'assertive':order==1}">
					最新
					<!--<i class="icon ion-ios-arrow-up icon-i-my paixu_top " ng-class="{'font-gray-my':order==1}"></i>
					<i class="icon ion-ios-arrow-down icon-i-my paixu_bottom" ng-class="{'font-gray-my':order==2}"></i>-->
				</div>
				<div class="col text-center" on-tap="orderGoods(3)" ng-class="{'assertive':order==3}">
					最热
					<!--<i class="icon ion-ios-arrow-up icon-i-my paixu_top" ng-class="{'font-gray-my':order==3}"></i>
					<i class="icon ion-ios-arrow-down icon-i-my paixu_bottom" ng-class="{'font-gray-my':order==4}"></i>-->
				</div>
			</div>
		</li>

		<!--描述：列表-->
		<div class="font-large-my font-gray-my text-center padding" ng-if="datas.findgoods.length==0||datas.findgoods==null">
			<i class="icon ion-sad-outline font-1rem-my"></i> 对不起，没有符合条件的数据.....
		</div>
		<ion-scroll direction="y" ng-style="search_myObj" lazy-scroll>
		<!--描述：下拉刷新-->
		<ion-refresher pulling-text="下拉刷新..." on-refresh="doRefresh()"></ion-refresher>
		<div class="searchorder_info_span"  ng-repeat="goods in datas.findgoods" on-tap="onshow_myproductdetail(goods.id,goods.region,goods.store_name,goods.store_id)">
			<span class="searchorder_info_span_title" style="white-space:nowrap;max-width:100%;overflow:hidden;text-overflow:ellipsis;">{{goods.title}}</span>
			<span class="searchorder_info_span_text">求购量：{{goods.goods_count}}</span>
			<span class="searchorder_info_span_text_thin_grey_line"></span>
			<span class="searchorder_info_span_text" style="white-space:nowrap;max-width:100%;overflow:hidden;text-overflow:ellipsis;">地域：<span ng-bind="goods.region?goods.region:'全国'|limitTo:10"></span><span ng-if="goods.region.length>10">..</span></span>
			<span class="searchorder_info_span_text_thin_grey_line"></span>
			<span class="searchorder_info_span_text">发布时间：{{goods.create_time}}</span>
			<span class="searchorder_info_span_text_thin_grey_line"></span>
			<span class="searchorder_info_span_text">剩余时间：{{goods.last_days}}天</span>
			<span class="searchorder_info_span_text_thin_grey_line"></span>
			<span class="searchorder_info_span_text">已报价：{{goods.offer_count}}条</span>
			<span class="searchorder_info_span_text_thin_grey_line"></span>
			<span class="searchorder_info_span_text">发布者：{{goods.publisher}}</span>
		</div>
<ion-infinite-scroll ng-if="!isLoad" immediate-check="false" on-infinite="doRefreshMore()" distance="1%"></ion-infinite-scroll>
	</ion-scroll>
		<!--描述：当用户到达页脚或页脚附近时-->
	</ion-content>
</ion-view>